createAnimation

Creates a new animation, fails if type is unknown.

Return

the created animation's handle.

Parameters

type

the type of animation to create.